Skip to content

Extra documentation for ggplot_add() #5968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

teunbrand
Copy link
Collaborator

This PR aims to fix #4984.

Briefly, it adds some details and an example to the documentation of ggplot_add().
I'm not sure the example for element_text() is the most appropriate one, but I'd be happy to swap out that example for a better one.

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - only fear is that someone would want to have this behaviour for element_text()🤣

@teunbrand teunbrand merged commit 6d2ed6d into tidyverse:main Aug 26, 2024
11 checks passed
@teunbrand teunbrand deleted the document_ggplot_add branch August 26, 2024 11:14
@teunbrand
Copy link
Collaborator Author

Well, now they know how to achieve it 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document how to use ggplot_add()
2 participants